/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kit.learning.listner;

/**
 *
 * @author thilinaj
 */
public class Dog {
    String name;
    Dog(String dogName) {
        this.name = dogName;
        System.out.println("calling doc constructor"+dogName + " "+ name);
    }

    public String getName() {
        System.out.println("calling get name "+name);
        return name;
    }
    
    
    
}
